import request from ".";

//获取用户列表
export const allUsersList = () => {
  return request({
    url: "/manageCustom/getCustom",
    method: "get",
  });
};

// //删除用户
export const deleteUsers = (c_id) => {
  return request({
    url: "/manageCustom/deleteCustom",
    method: "post",
    data: {
      c_id: c_id,
    },
  });
};

// //搜索用户
export const SearchUser = (keyword) => {
  return request({
    url: "/manageCustom/findCustom",
    method: "get",
    params: {
      c_name: keyword,
    },
  });
};
